@charset "utf-8";
@import "public.css";

$b:1px solid #e5e5e5;
$b1:1px solid #faa8cd;
$b2:1px solid #f2f2f2;
$c1:#fa4b9b;
$c2:#ff3893;

/* 字体 */
@font-face{font-family:miaicon;
    src:url(../font/miaicon.eot);
    src:url(../font/miaicon.eot) format("embedded-opentype"),
    url(../font/miaicon.woff2) format("woff2"),
    url(../font/miaicon.woff) format("woff"),
    url(../font/miaicon.ttf) format("truetype"),
    url(../font/miaicon.svg) format("svg");
}
i{
    font-weight:400;font-style:normal;
}
.mia-icon{
    font-family:miaicon;
    font-style:normal;
    font-weight:400;
    speak:none;
    display:inline-block;
    text-decoration:inherit;
    width:1em;
    text-align:center;
    font-variant:normal;
    text-transform:none;
    line-height:1em;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

.margin{
    width: 1100px;
    margin: 0 auto;
}
.margin1{
    width: 1000px;
    margin: 0 auto;
}

body{
    background: #f9f9f9;
}

#top{
    height: 29px;
    border-bottom: $b;
    background: #f2f2f2;
    .left{
        float: left;
        font: 12px/30px "";
        color: #666;
        i{
            color: $c2;
        }
    }
    .right{
        float: right;
        font: 12px/30px "";
        color: #666;
        span{
            padding-right: 20px;
        }
        em{
            color: #666;
            padding: 0 12px;
        }
        a{
            padding-right: 16px;
        }
    }
    a:hover{
        color: $c1;
    }
}

#header{
    overflow: hidden;
    height: 100px;
    img{
        float: left;
    }
    ul{
        float: right;
        overflow: hidden;
        background:url(../images/t20.png) no-repeat;
        margin-top: 29px;
        li{
            float: left;
            width: 131px;
            height: 30px;
            padding-left: 15px;
            margin-top: 12px;
        }
    }
}

#main{
    .back{
        background: #fff url(../images/cart.png) no-repeat 120px 75px;
        padding: 80px 0;
        box-sizing: border-box;
        padding-left: 230px;
        display: block;
        .ti{
            font-size: 30px;
            color: #ccc;
            padding-bottom: 20px;
        }
        p{
            font-size: 12px;
            color: #666;
        }
        a{
            font-size: 14px;
            font-weight: 700;
            color: $c1;
            padding: 0 3px;
        }
    }
    .shopping{
        width: 1000px;
        margin: 0 auto;
        background: #fff;
        padding: 10px;
        box-sizing: border-box;
        display: block;
        .title{
            border-bottom: 2px solid #eaeaea;
            span{
                font: 24px/42px "";
                color: #333;
                border-bottom: 2px solid #fa4b9b;
                padding-bottom: 6px;
            }
        }
        .menu{
            height: 26px;
            padding: 15px;
            div{
                float: left;
                text-align: center;
                font: 12px/20px "";
                color: #666;
            }
            .m1{
                width: 87px;
                text-align: left!important;
                p{
                    display: inline-block;
                }
                .checked1{
                    background: url(../images/select.png) no-repeat;
                    background-position: 0 -176px;
                    width: 23px;
                    height: 22px;
                    position: relative;
                    top: -2px;
                }
            }
            .m2{
                width: 280px;
            }
            .m3,.m4,.m5,.m6,.m7{
                width: 114px;
                border-left: 1px solid #ddd;
            }
        }
        .list{
            border: 1px solid #ededed;
            .tit{
                padding: 15px;
                overflow: hidden;
                background: #fafafa;
            }
            .checked2{
                background: url(../images/select.png) no-repeat;
                background-position: 0 -176px;
                width: 23px;
                height: 22px;
                position: relative;
                float: left;
            }
            span{
                float: left;
                font-size: 18px;
                color: #333;
            }
            .content{
                padding: 15px;
                overflow: hidden;
                border-bottom: 1px solid #e6e6e6;
                .checked{
                    background: url(../images/select.png) no-repeat;
                    background-position: 0 -176px;
                    width: 23px;
                    height: 22px;
                    position: relative;
                    float: left;
                    margin: 25px 15px 0 0;
                }
                input{
                    width: 100%;
                    height: 80%;
                    position: absolute;
                    left: 0;
                    top: 3px;
//                  opacity: 0;
                }
                .limg{
                    width: 77px;
                    height: 77px;
                    border: 1px solid #ddd;
                    margin-right: 15px;
                }
                img{
                    width: 77px;
                    height: 77px;
                }
                div{
                    float: left;
                }
                .des{
                    width: 240px;
                    font-size: 12px;
                    a.dest{
                        color: #666;
                    }
                    p:hover .dest{
                        color: $c2;
                    }
                    p{
                        color: #adadad;
                        padding-bottom: 5px;
                    }
                }
                .size{
                    width: 115px;
                    margin-top: 3px;
                    text-align: center;
                    color: #999;
                }
                .price{
                    width: 115px;
                    text-align: center;
                    margin-top: 3px;
                }
                .goodsn{
                    color: #666;
                }
                .goodso{
                    color: #999;
                    text-decoration: line-through;
                    margin-top: 10px;
                }
                .change{
                    width: 115px;
                }
                .num{
                    text-align: center;
                    margin-top: 3px;
                    border:1px solid #b3b3b3;
                    float: left;
                    margin-left: 16px;
                    span{
                        float: left;
                        width: 24px;
                        height: 28px;
                    }
                }
                .del{
                    background: url(../images/t14.png) no-repeat;
                    background-position: 0 -150px;
                }
                .add{
                    background: url(../images/t14.png) no-repeat;
                    background-position: -50px -150px;
                }
                em{
                    text-align: center;
                    line-height: 28px;
                    width: 28px;
                    background-color: #fff;
                    float: left;
                }
                .total{
                    width: 115px;
                }
                .many{
                    color: #ff69b4;
                    font-size: 12px;
                    margin-left: 38px;
                }
                .opera{
                    color: #666;
                    padding-left: 38px;
                    a:hover{
                        color: $c2;
                    }
                }
            }
        }
        .count{
            border: 1px solid #ededed;
            margin-top: 20px;
            overflow: hidden;
            .m1{
                float: left;
                .checked123{
                    background: url(../images/select.png) no-repeat;
                    background-position: 0 -176px;
                    width: 23px;
                    height: 22px;
                    float: left;
                    position: relative;
                }
                input{
                    width: 100%;
                    height: 80%;
                    position: absolute;
                    top: 3px;
                    opacity: 0;
                }
                p{
                    float: left;
                    font: 600 14px/24px "";
                    padding-right: 20px;
                }
            }
            .all{
                float: left;
                line-height: 2;
                padding: 15px;
                a{
                    float: right;
                    padding-right: 10px;
                    &:hover{
                        color: $c2;
                    }
                }
                
            }
            .allnum{
                float: left;
                line-height: 2;
                padding: 15px 0 15px 150px;
                p{
                    font:700 12px/24px "";
                    color: #333;
                }
                i{
                    font-size: 18px;
                    color: #fa4b9b;
                    font-weight: 400;
                    vertical-align: top;
                    padding: 0 3px;
                }
            }
            .btn{
                float: right;
                text-align: center;
                color: #fff;
                background-color: #fa4b9b;
                border: 1px solid #fa4b9b;
                line-height: 56px;
                padding: 0 19px;
                font-size: 19.5px;
                cursor: pointer;
            }
        }
    }
}

.goods-list{
    background: #fff;
    padding: 40px 10px;
    box-sizing: border-box;
    display: block;
    ul{
        overflow: hidden;
    }
    .group{
        float: left;
        margin-right: -1px;
        width: 194px;
        border: 1px solid #e5e5e5;
        .lay-t{
            width: 194px;
            height: 200px;
            .oimg{
                width: 192px;
                height: 219px;
            }
        }
        .lay-b{
            height: auto!important;
            position: relative;
            padding: 15px 15px 65px 15px;
            .tit{
                font: 12px/18px "";
                color: #222;
                font-weight: 700;
                text-align: center;
            }
            .price{
                position: absolute;
                bottom: 13px;
            }
            .new{
                display: block;
                margin-bottom: 5px;
                color: #ff4a49;
                em{
                    font-size: 16px;
                }
            }
            .old{
                display: block;
                color: #555;
                text-decoration: none;
                em{
                    text-decoration: line-through;
                }
            }
            .btn{
                bottom: 7px;
                border-radius: 15px;
                position: absolute;
                right: 5px;
                padding: 0 7px;
                height: 28px;
                line-height: 28px;
                font-size: 12px;
                cursor: pointer;
                background: #fff;
                color: $c2;
                border: $b1;
                &:hover{
                    background: #ff4a49;
                    color: #fff;
                }
            }
        }
    }
}

#tan{
    width: 367px;
    height: 174px;
    left: 50%;
    top: 50%;
    margin: -87px 0px 0px -183px;
    position: fixed;
    border: 3px solid #dedede;
    background: #fff;
    z-index: 5;
    .biaoti{
        background: #eee;
        display: block;
        height: 30px;
        font-size: 14px;
        line-height: 2;
        padding-left: 8px;
    }
    p{
        text-align: center;
        margin-top: 30px;
    }
    div{
        margin-top: 30px;
        span{
            width: 30px;
            height: 24px;
            display: block;
            float: left;
            font:14px/22px "";
            background: $c2;
            border-radius: 5px;
            padding: 0 10px;
            margin: 0 5px;
            cursor: pointer;
        }
        .tan-btn{
            margin-left: 120px;
        }
        .sp1{
            color: #fff;
        }
        .sp2{
            background: #fff;
            border:1px solid #ccc;
        }
    }
}

#mask{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.2);
    z-index: 0;
    position:absolute;
    left:0px;top:0px;
    display: none;
}

#footer{
    margin-top: 20px;
    border-top: $b;
    background: #fff;
    overflow: hidden;
    .one{
        padding: 20px 0 20px 60px;
        border-bottom: $b2;
        overflow: hidden;
        width: 1100px;
        box-sizing: border-box;
        a{
            float: left;
            width: 164px;
            color: #999;
            text-align: center;
            font: 12px/20px "";
            img{
                display: inline-block;
            }
            b{
                font-weight: 700;
                display: block;
                margin-top: 5px;
                font-size: 15px;
                color: #333;
            }
        }
    }
    .two{
        margin: 20px 0 0 82px;
        width: 1100px;
        padding-left: 30px;
        border-bottom: $b2;
        overflow: hidden;
        box-sizing: border-box;
        a:hover{
            color: $c2;
        }
        .two-l{
            float: left;
            overflow: hidden;
            color: #666;
            padding-left: 76px;
            ul{
                float: left;
                width: 132px;
                font: 14px/26px "";
            }
            .strong{
                font:700 14px/30px "";
                color: #333;
            }
            .contact{
                width: 200px;
            }
        }
        .two-r{
            float: right;
            padding-right: 50px;
            width: 185px;
            height: 165px;
            border-left: $b2;
            padding-left: 30px;
            p{
                font:700 14px/34px "";
            }
            .box{
                
            }
            .box-l{
                float: left;
            }
            .box-r{
                float: left;
                padding-left: 5px;
                a{
                    display: block;
                }
            }
        }
    }
    .three{
        text-align: center;
        vertical-align: middle;
        padding-bottom: 10px;
        .p1{
            color: #666;
            padding: 10px;
            a{
                font: 14px/32px "";
                padding: 0 10px;
            }
        }
        .p2{
            color: #979797;
            font: 12px/20px "";
            padding-bottom: 10px;
        }
        .p3{
            a{
                padding: 5px;
            }
        }
        a:hover{
            color: $c2;
        }
    }
}
